package cn.sciento.core.notify;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface NotifyBusinessType {
    String code();

    String name();

    String description() default "";

    Level level();

    int retryCount() default 0;

    boolean isSendInstantly() default true;

    boolean isManualRetry() default false;

    boolean isAllowConfig() default true;
}
